import { sidebar } from "vuepress-theme-hope";

export const zhSidebar = sidebar({
  "/zh/advanced/": [
    {
      text: "深入",
      icon: "fa6-solid:gem",
      children: ["architecture", "plugin", "theme"],
    },
    {
      text: "Cookbook",
      icon: "fa6-solid:signs-post",
      prefix: "cookbook/",
      children: [
        "",
        "usage-of-client-config",
        "adding-extra-pages",
        "making-a-theme-extendable",
        "passing-data-to-client-code",
        "markdown-and-vue-sfc",
      ],
    },
  ],
  "/zh/html/": [
    {
      text: "基础属性",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/html/字体",
      ],
    },
  ],
  "/zh/css/": [
    {
      text: "常用布局",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/css/初始化",
        "/zh/css/选择器",
        "/zh/css/属性",
        "/zh/css/文字-字体",
        "/zh/css/图片-背景",
        "/zh/css/scss-less",
        "/zh/css/布局-grid",
        "/zh/css/布局-table",
        "/zh/css/css方法",
        "/zh/css/兼容性",
        "/zh/css/滚动条",
        "/zh/css/相关链接",
      ],
    },
  ],
  "/zh/javascript/": [
    {
      text: "基础类型",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/javascript/数组/数组方法",
        "/zh/javascript/数组/数组排序",
        "/zh/javascript/数组/数组过滤",
        "/zh/javascript/对象",
        "/zh/javascript/时间",
      ],
    },
    {
      text: "其它",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/javascript/相关链接",
      ],
    },
  ],
  "/zh/vue2/": [
    {
      text: "基础知识",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/vue2/指令",
        "/zh/vue2/插槽",
        "/zh/vue2/监听器",
        "/zh/vue2/计算属性",
        "/zh/vue2/方法",
        "/zh/vue2/插件",
      ],
    },
  ],
  "/zh/vue3/": [
    {
      text: "基础知识",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/vue3/窗口",
        "/zh/vue3/插槽",
        "/zh/vue3/路由",
        "/zh/vue3/问题",
        "/zh/vue3/组合式API",
        "/zh/vue3/相关链接",
      ],
    },
    {
      text: "组件",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/vue3/组件通信",
        "/zh/vue3/组件通信 Vuex",
        "/zh/vue3/组件通信 Pinia",
      ],
    },
    {
      text: "周边",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/vue3/TS",
      ],
    },
    {
      text: "UI库 element-plus",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/vue3/el-notification",
      ],
    },
    {
      text: "VuePress 参考",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/reference/cli",
        "/zh/reference/config",
      ],
    },
  ],
  "/zh/electron/": [
    {
      text: "基础知识",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/electron/基础配置",
        "/zh/electron/官方接口",
        "/zh/electron/相关方法",
        "/zh/electron/配置-vue.config",
        "/zh/electron/相关链接",
      ],
    },
  ],
  "/zh/uniapp/": [
    {
      text: "基础知识",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/uniapp/生命周期",
        "/zh/uniapp/插件",
        "/zh/uniapp/配置-pages_json",
      ],
    },
  ],
  "/zh/uniapp3/": [
    {
      text: "配置",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [

      ],
    },
  ],
  "/zh/node/": [
    {
      text: "包管理器工具",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/node/包管理工具",
        "/zh/node/npm",
        "/zh/node/nvm",
        "/zh/node/pnpm",
        "/zh/node/yarn",
      ],
    },
  ],
  "/zh/HarmonyOS/": [
    {
      text: "基础知识",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/HarmonyOS/基础入门",
        "/zh/HarmonyOS/属性",
        "/zh/HarmonyOS/组件",
        "/zh/HarmonyOS/路由",
      ],
    },
  ],
  "/zh/工具/": [
    {
      text: "常用工具",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/工具/Typora",
        "/zh/工具/vuePress",
        "/zh/工具/pdf",
        "/zh/工具/图像",
      ],
    },
  ],
  "/zh/前端进阶/": [
    {
      text: "集合",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/前端进阶/相关链接",
      ],
    },
  ],
  "/zh/reference/": [
    {
      text: "VuePress 参考",
      icon: "fa6-brands:vuejs",
      collapsible: true,
      children: [
        "/zh/reference/cli",
        "/zh/reference/config",
        "/zh/reference/frontmatter",
        "/zh/reference/components",
        "/zh/reference/plugin-api",
        "/zh/reference/theme-api",
        "/zh/reference/client-api",
        "/zh/reference/node-api",
      ],
    },
    {
      text: "打包工具参考",
      icon: "fa6-solid:boxes-packing",
      prefix: "bundler/",
      collapsible: true,
      children: ["vite", "webpack"],
    },
    {
      text: "默认主题参考",
      icon: "fa6-solid:palette",
      prefix: "default-theme/",
      collapsible: true,
      children: [
        "config",
        "frontmatter",
        "components",
        "markdown",
        "styles",
        "extending",
      ],
    },
    {
      text: "官方插件参考",
      icon: "fa6-solid:plug",
      collapsible: true,
      prefix: "plugin/",
      children: [
        {
          text: "常用功能",
          children: [
            "back-to-top",
            "container",
            "external-link-icon",
            "google-analytics",
            "medium-zoom",
            "nprogress",
            "register-components",
          ],
        },
        {
          text: "内容搜索",
          children: ["docsearch", "search"],
        },
        {
          text: "PWA",
          children: ["pwa", "pwa-popup"],
        },
        {
          text: "语法高亮",
          children: ["prismjs", "shiki"],
        },
        {
          text: "主题开发",
          children: [
            "active-header-links",
            "git",
            "palette",
            "theme-data",
            "toc",
          ],
        },
      ],
    },
    {
      text: "VuePress 市场",
      icon: "fa6-solid:cart-shopping",
      link: "https://marketplace.vuejs.press/zh/",
    },
  ],
});
